Hit-Testing
ATSUI provides the following functions for hit-testing:
ATSUPositionToOffset
obtains the edge offset(s) that correspond to the glyph nearest a mouse-down event.
ATSUOffsetToPosition
obtains the caret position(s) that correspond to an edge offset.
© 2000 Apple Computer, Inc. – (Last Updated 25 Jan 00)